package com.ss.android.article.base.ui;

import android.os.Bundle;
import android.view.View;

import com.ss.android.article.common.e.SubEntrance;
import com.ss.android.newmedia.util.AppUtil;

final class an implements View.OnClickListener {
    private final SingleLineLinerLayout b;
    private final int a;

    an(SingleLineLinerLayout arg1, int arg2) {
        this.b = arg1;
        this.a = arg2;
    }

    public final void onClick(View arg5) {
        if (System.currentTimeMillis() - SingleLineLinerLayout.a(this.b) > 500 && ((arg5.getTag() instanceof String))) {
            AppUtil.b(this.b.b, (String) arg5.getTag());
            Bundle v1 = new Bundle();
            v1.putString("click_value", ((SubEntrance) this.b.a.get(this.a)).name);
            android.support.design.a.onEvent("channel_word_click", v1);
        }

        SingleLineLinerLayout.a(this.b, System.currentTimeMillis());
    }
}

